package org.rcloud.io.mapper;

import org.rcloud.io.model.Public;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PublicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Public record);

    int insertSelective(Public record);

    Public selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Public record);

    int updateByPrimaryKey(Public record);

    List<Public> selectAll();

    Public selectByEid(String eid);
}